import TrumpWebViewImpl from "./TrumpWebViewImpl";

const {ccclass, property, executeInEditMode} = cc._decorator;

@ccclass
@executeInEditMode
export default class TrumpWebView extends cc.WebView {
    
    constructor () {
        super()
        //@ts-ignore
        this._impl = new TrumpWebViewImpl();
    }

    
    onRestore () {
        //@ts-ignore
        if (!this._impl) {
            //@ts-ignore
            this._impl = new TrumpWebViewImpl();
        }
    }
    // update (dt) {}
}
